package cn.itsource.hrm.mapper;

import cn.itsource.hrm.domain.Tenant;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xqf
 * @since 2021-01-11
 */
public interface TenantMapper extends BaseMapper<Tenant> {
    //保存机构与套餐之间的关系
    void saveRelationTenant(@Param("mealId") Long mealId, @Param("tenantId") Long tenantId, @Param("expireDate") Date expireDate, @Param("state") int state);
}
